package com.yvon.maple.service.doc.service.impl;

import com.yvon.boot.mybatis.BaseServiceImpl;
import com.yvon.maple.service.doc.entity.Article;
import com.yvon.maple.service.doc.mapper.ArticleMapper;
import com.yvon.maple.service.doc.service.ArticleService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ArticleServiceImpl extends BaseServiceImpl<Article, ArticleMapper> implements ArticleService {
    @Override
    public List<Article> getSidebar(Long categoryId) {
        return baseMapper.getSidebar(categoryId);
    }
}